﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Graph
{
    class BasicEdge<T> : IBasicEdge<T>
    {
        public T From
        {
            get;
            set;
        }

        public T To
        {
            get;
            set;
        }

        public BasicEdge(T from, T to)
        {
            this.From = from;
            this.To = to;
        }

        public int CompareTo(T other)
        {
            return 0;
        }
    }
}
